import { MockMethod } from 'vite-plugin-mock';

const api: MockMethod[] = [
  {
    url: '/api/test',
    method: 'post',
    timeout: 2000,
    response: {
      result: 200,
      msg: '',
      data: {
        current: 1,
        records: [{
          id: '1'
        }],
        size: 10,
        total: 1,
      },
    },
  },
];

export default api;